package com.example.teesystem.entity.vo.issue;

import com.example.teesystem.common.valid.ValidErrorMessage;
import com.example.teesystem.common.valid.ValidId;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : NieYaShi
 * @version : v1.0
 * @createTime : 2022/8/9 17:06
 */
@Data
public class IssueVisibilityVo {
    @NotNull(message = "值不能为空")
    @ValidId(message = ValidErrorMessage.COURSE_ID_VALID_FAIL, ifCourseId = true)
    private Integer courseId;//课程id

    @NotNull(message = "值不能为空")
    private Integer trainingExam;
}
